﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KingSite.Shop.Domain.ShowDataModel;

namespace KingSite.Shop.Core.Service {
    public interface IShoppingCart {
        int CustomerId { get; }
        int ShoppingCartId { get; }
        int ItemCount { get; }
        decimal TotalValue { get; }
        ShoppingCartItems CartItems { get; set; }
        int Add(int skuId);
        int Add(int skuId, int quantity);
        void Remove(int id);
        void SetQuantity(int id, int quantity);
        void Clear();
    }
}
